//
//  DNHomeVC.m
//  DanoneEA
//
//  Created by Senela on 16/9/23.
//  Copyright © 2016年 翔傲科技. All rights reserved.
//

#import "DNHomeVC.h"
#import "AppMacro.h"

@interface DNHomeVC ()

@end

@implementation DNHomeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    NAV_INIT(self, DNNSLocalizedString(@"NavTitle_Home",@""), DNNSLocalizedString(@"NavLeft_SidePanelButton",@""),
             @selector(leftDrawerButtonPress:), nil, nil);
    self.type = ModuleType_Other;
}
 

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

#pragma mark - UIAction methods
/**
 *  the left navigation button respons to events
 *
 *  @param sender left navigation button
 */
-(void)leftDrawerButtonPress:(id)sender{
    [self.mm_drawerController toggleDrawerSide:MMDrawerSideLeft animated:YES completion:nil];
}

@end
